home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / xfs_growfs.z / xfs_growfs
Encoding:
Text File  |  1998-10-20  |  5.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. xxxxffffssss____ggggrrrroooowwwwffffssss((((1111MMMM))))                                                  xxxxffffssss____ggggrrrroooowwwwffffssss((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      xfs_growfs - expand an XFS filesystem
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxffffssss____ggggrrrroooowwwwffffssss [ ----DDDD size ] [ ----dddd ] [ ----eeee rtextsize ] [ ----iiii ] [ ----LLLL size ]
  13.           [ ----llll ] [ ----mmmm maxpct ] [ ----nnnn ] [ ----RRRR size ] [ ----rrrr ] [ ----xxxx ] mount-point
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      _x_f_s__g_r_o_w_f_s expands an existing XFS filesystem (see _x_f_s(4)).  The _m_o_u_n_t-
  17.      _p_o_i_n_t argument is the pathname of the directory where the filesystem is
  18.      mounted.  The filesystem must be mounted to be grown (see _m_o_u_n_t(1M)).
  19.      The existing contents of the filesystem are undisturbed, and the added
  20.      space becomes available for additional file storage.
  21.  
  22.      The options to _x_f_s__g_r_o_w_f_s are:
  23.  
  24.      ----dddd, ----DDDD _s_i_z_e
  25.           Specifies that the data section of the filesystem should be grown.
  26.           If the ----DDDD _s_i_z_e option is given, the data section is grown to that
  27.           size, otherwise the data section is grown to the largest size
  28.           possible.  The size is expressed in filesystem blocks.
  29.  
  30.      ----eeee   Allows the real-time extent size to be specified.  In _m_k_f_s__x_f_s(1M)
  31.           this is specified with ----rrrr eeeexxxxttttssssiiiizzzzeeee====_n_n_n_n.
  32.  
  33.      ----iiii   The new log is an internal log (inside the data section).
  34.  
  35.      ----llll, ----LLLL _s_i_z_e
  36.           Specifies that the log section of the filesystem should be grown,
  37.           shrunk, or moved.  If the ----LLLL _s_i_z_e option is given, the log section
  38.           is changed to be that size, if possible.  The size is expressed in
  39.           filesystem blocks.  The size of an internal log must be smaller than
  40.           the size of an allocation group (this value is printed at _m_k_f_s(1M)
  41.           time).  If neither ----iiii nor ----xxxx is given with ----llll, the log continues to
  42.           be internal or external as it was before.
  43.  
  44.      ----mmmm   Specify a new value for the maximum percentage of space in the
  45.           filesystem that can be allocated as inodes.  In _m_k_f_s__x_f_s this is
  46.           specified with ----iiii mmmmaaaaxxxxppppcccctttt====_n_n.
  47.  
  48.      ----nnnn   Specifies that no change to the filesystem is to be made.  The
  49.           filesystem geometry is printed, and argument checking is performed,
  50.           but no growth occurs.
  51.  
  52.      ----rrrr, ----RRRR _s_i_z_e
  53.           Specifies that the real-time section of the filesystem should be
  54.           grown.  If the ----RRRR _s_i_z_e option is given, the real-time section is
  55.           grown to that size, otherwise the real-time section is grown to the
  56.           largest size possible.  The size is expressed in filesystem blocks.
  57.           The filesystem does not need to have contained a real-time section
  58.           before the _x_f_s__g_r_o_w_f_s operation.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. xxxxffffssss____ggggrrrroooowwwwffffssss((((1111MMMM))))                                                  xxxxffffssss____ggggrrrroooowwwwffffssss((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----xxxx   The new log is an external log (in an XLV log subvolume).
  75.  
  76.      _x_f_s__g_r_o_w_f_s is most often used in conjunction with logical volumes (see
  77.      _x_l_v(7M) or _l_v(7M)).  However, it can also be used on a regular disk
  78.      partition, for example if a partition has been enlarged while retaining
  79.      the same starting block.
  80.  
  81. PPPPRRRRAAAACCCCTTTTIIIICCCCAAAALLLL UUUUSSSSEEEE
  82.      Filesystems normally occupy all of the space on the device where they
  83.      reside.  In order to grow a filesystem, it is necessary to provide added
  84.      space for it to occupy.  Therefore there must be at least one spare new
  85.      disk partition available.  Adding the space is done through the mechanism
  86.      of logical volumes.  If the filesystem already resides on a logical
  87.      volume, the volume is simply extended using _m_k_l_v(1M) or _x_l_v__m_g_r(1M).  If
  88.      the filesystem is currently on a regular partition, it is necessary to
  89.      create a new logical volume whose first member is the existing partition,
  90.      with subsequent members being the new partition(s) to be added.  Again,
  91.      _m_k_l_v or _x_l_v__m_g_r is used for this.  In either case _x_f_s__g_r_o_w_f_s is run on
  92.      the mounted filesystem, and the expanded filesystem is then available for
  93.      use.
  94.  
  95. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  96.      mkfs_xfs(1M), mklv(1M), mount(1M), xlv_make(1M), lv(7M), xlv(7M).
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.